package bdqn;

/**
 * Created by 旧 on 2018/8/4.
 */
public class Student extends People implements China{
    private String name;
    private int age;
    public String setName;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public  Student(String name,int age){

        System.out.println("有参调用");
    }
    public  Student(String name){
        this.name=name;
        System.out.println("有参调用");
    }
    public  Student(int age){
        this.age=age;
        System.out.println("有参调用！");
    }
    public  Student(){
        System.out.println("无参调用！");
    }

    @Override
    public void satChina() {

    }

    @Override
    public void sayHello(String name, int age) {

    }
}
